binaries=Core
appendage_dir=../appendage
appendage=$(appendage_dir)/ModuleLoader.vala $(appendage_dir)/Appendage.vala $(appendage_dir)/PluginsEngine.vala ${appendage_dir}/Plugin.vala ${appendage_dir}/PluginInfo.vala

ExampleApplication:
	valac --pkg gtk+-2.0 --pkg gio-2.0 --pkg gee-1.0 --pkg gmodule-2.0 --pkg gconf-2.0 ExampleApplication.vala ExampleApplicationIPlugin.vala Core.vala $(appendage) 

Core:
	valac --pkg gtk+-2.0 --pkg gio-2.0 --pkg gee-1.0 --pkg gmodule-2.0 --pkg gconf-2.0 Core.vala ModuleLoaderExampleIPlugin.vala $(appendage) 

SimpleModuleLoaderExample:
	valac --pkg gtk+-2.0 --pkg gio-2.0 --pkg gee-1.0 --pkg gmodule-2.0 --pkg gconf-2.0 SimpleModuleLoaderExample.vala ModuleLoaderExampleIPlugin.vala $(appendage) 

clean:
	rm -f *.o *.h *.h.gch *.c *.so $(binaries)

